﻿#pragma once


// CSelDateDlg 对话框

class CSelDateDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CSelDateDlg)

public:
	CSelDateDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CSelDateDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_SELDATEDLG };
#endif
	CDateTimeCtrl m_ctlDate;

public:
	CTime	m_tDbStartTime;
	CTime   m_tDbEndTime;

	CTime	m_tSel;
private:
	void	Draw(CDC* pDC, CRect rt);

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedOk();
	afx_msg void OnPaint();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
};
